package com.mc.lp.database.entity;


import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/*
 * @author aphanda
 * @date Sep 21, 2014
 * @time 12:59:36 AM
 */

@Entity
@Table(name = "SPORT_RECORD")
public class SportsRecordEntity extends MicroCampusBaseEntity {

	@Column(name = "STUDENT_ENTITY_ID")
	private Long studentEntity;

	@Column(name = "SPORT_ID")
	private Long sportId;
	
	@Column(name="COMPETITION_LEVEL")
	private Integer competitionLevel;

	@Column(name = "ATTACHMENT_ID")
	private Long sportsAttachmentId;

	@Column(name = "RANKING")
	private Long ranking;

	@Column(name = "MEDAL")
	private Long medal;

	@Column(name = "REMARKS")
	private String remarks;

	@Column(name = "DATED")
	private Date dated;
	
	@Column(name = "GRADE")
	private int gradeId;
	
	@Column(name="ATTRIBUTE_WEIGHTAGE")
	private int attributeWeightage;

	public int getAttributeWeightage() {
		return attributeWeightage;
	}

	public void setAttributeWeightage(int attributeWeightage) {
		this.attributeWeightage = attributeWeightage;
	}

	public int getGradeId() {
		return gradeId;
	}

	public void setGradeId(int gradeId) {
		this.gradeId = gradeId;
	}

	public Date getDated() {
		return dated;
	}

	public void setDated(Date dated) {
		this.dated = dated;
	}
	
	public Integer getCompetitionLevel() {
		return competitionLevel;
	}

	public void setCompetitionLevel(Integer competitionLevel) {
		this.competitionLevel = competitionLevel;
	}

	public Long getStudentEntity() {
		return studentEntity;
	}

	public void setStudentEntity(Long studentEntity) {
		this.studentEntity = studentEntity;
	}

	public Long getSportId() {
		return sportId;
	}

	public void setSportId(Long sportId) {
		this.sportId = sportId;
	}

	public Long getSportsAttachmentId() {
		return sportsAttachmentId;
	}

	public void setSportsAttachmentId(Long sportsAttachmentId) {
		this.sportsAttachmentId = sportsAttachmentId;
	}

	public Long getRanking() {
		return ranking;
	}

	public void setRanking(Long ranking) {
		this.ranking = ranking;
	}

	public Long getMedal() {
		return medal;
	}

	public void setMedal(Long medal) {
		this.medal = medal;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
}
